package pl.perseus.service.user;

import java.util.List;

import pl.perseus.model.Classes;
import pl.perseus.model.User;
import pl.perseus.model.UserAccount;
import pl.perseus.service.exception.LoginException;

public interface IUserService {

	void logIn(String login, String passwd) throws LoginException;
	User insertUser(User u);
	List<User> getAllTeachers();
	User selectUserByLogin(String login);
	void insertUserWithRole(User u, UserAccount a);
	User updateUser(User u);
	List<User> getTeachersForClasses(Classes c);
	void deleteUser(User u);
	List<User> getAllUsers();
	List<User> getAllExceptCurrent(String login);
	User getById(Long id);
}
